<ion-view id="editinfo-view" hide-nav-bar="true" view-title="和护健康"  id="myself">

  <ion-header-bar align-title="center" class="head">
    <img wf-src="img/yuyue/back.png" class="headleft" ng-click="back()"/>
    <h1 class="min-title">{{editOrAdd}}</h1>
    <label class="textright" ng-click="editCommit()">完成</label>
  </ion-header-bar>

  <ion-content>
    <div ng-if="edit">
      <div class="yyfw shadow-box">
        <div class="inyw">
          <label class="inleft">姓名</label>
          <input class="input-right" ng-model="editInfo.customerName" />
          <hr class="inhr"/>
        </div>
        <div class="inyw">
          <label class="inleft">手机</label>
          <input class="input-right" ng-model="editInfo.tel" />
          <hr class="inhr"/>
        </div>
        <div class="inyw last-box">
          <label class="inleft">地址</label>
          <input class="input-right" ng-model="editInfo.bed" />
        </div>
      </div>
      <!--<span class="ddbtm shadow-btn" ng-click="deleteInfo()">删&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;除</span>-->
      <!--<span class="ddbtm2 shadow-btn" ng-click="setDefault()">设为默认</span>-->
    </div>
    <div class="yyfw shadow-box" ng-if="add">
      <div class="inyw">
        <label class="inleft">姓名</label>
        <input class="input-right" ng-model="info.customerName" />
        <hr class="inhr"/>
      </div>
      <div class="inyw">
        <label class="inleft">手机</label>
        <input class="input-right" ng-model="info.tel" />
        <hr class="inhr"/>
      </div>
      <div class="inyw last-box">
        <label class="inleft">床位</label>
        <input class="input-right" ng-model="info.bed" />
      </div>
    </div>
  </ion-content>
</ion-view>

